#include "IWDebug.h"
#include "WIPIHeader.h"

time_t m_cur_time;

void debug_set_cur_time(void)
{
	time(&m_cur_time);
}

void debug_print_proc_time(char* _str)
{
	char tmpStr[128];
	time_t aTime;
	
	printf("##################################\n");
	sprintf(tmpStr, "%s Proc Time = %ld \n", _str, time(&aTime) - m_cur_time);
	printf(tmpStr);
	printf("##################################\n");
}
